package com.yw.heroInfo.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.time.LocalDateTime;
@Data
@NoArgsConstructor
@TableName(value = "hero")
public class Hero {
    @Id
    @Schema(description = "内码",name = "id")
    private Integer id; // 内码

    @Schema(description = "英雄名",name = "heroName")
    private String heroName; // 英雄名

    @Schema(description = "所属战争ID",name = "warId")
    private Integer warId; // 所属战争ID

    @Schema(description = "英雄简要说明",name = "heroBrief")
    private String heroBrief; // 英雄简要说明

    @Schema(description = "性别（0表示女，1表示男",name = "gender")
    private Integer gender; // 性别（0表示女，1表示男）

    @Schema(description = "民族",name = "nationality")
    private String nationality; // 民族

    @Schema(description = "英雄事迹",name = "deed")
    private String deed; // 英雄事迹

    @Schema(description = "地区ID",name = "cityId")
    private Integer cityId; // 地区ID

    @Schema(description = "栏目ID",name = "columnId")
    private Integer columnId; // 栏目ID

    @Schema(description = "创建时间",name = "createTime")
    private LocalDateTime createTime; // 创建时间

    @Schema(description = "更新时间",name = "updateTime")
    private LocalDateTime updateTime; // 更新时间
}
